This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
RE: DialogBox cannot be used in this context; a document must be selected ~Umberto Nongeroson 9.Oct.03 01:38 AM a Web browser Domino Designer All ReleasesAll Platforms
You pass a NotesDocument object to the DialogBox method. When DialogBox returns, the values entered are in the NotesDocument you passed it. At that point the dialogbox is gone. You don't need a "handle" to it. Just use the document that you passed in to it.
Incidentally, why are you using a form from another database on a document in the current database? Is there any reason you can't just copy the form design to the current database?